﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewCategorieDelete.aspx.cs" Inherits="Pc_Vision.View_Datalayer.viewCategorieDelete" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
      <!-- #include file="load.aspx" -->
</head>
<body>
    <!-- #include file="header.aspx" -->

    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">

            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
                </asp:ScriptReference>
            </Scripts>
    </telerik:RadScriptManager>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server"></telerik:RadWindowManager>
    </div>
        <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" OnDeleteCommand="RadGrid1_DeleteCommand">
            <MasterTableView AutoGenerateColumns="False" DataKeyNames="Categorieid" DataSourceID="SqlDataSource1">
                <Columns>
                    <telerik:GridBoundColumn DataField="Categorieid" DataType="System.Int32" FilterControlAltText="Filter Categorieid column" HeaderText="Categorieid" ReadOnly="True" SortExpression="Categorieid" UniqueName="Categorieid">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Categorienaam" FilterControlAltText="Filter Categorienaam column" HeaderText="Categorienaam" SortExpression="Categorienaam" UniqueName="Categorienaam">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Artikelnummer" FilterControlAltText="Filter Artikelnummer column" HeaderText="Artikelnummer" SortExpression="Artikelnummer" UniqueName="Artikelnummer">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Omschrijving" FilterControlAltText="Filter Omschrijving column" HeaderText="Omschrijving" SortExpression="Omschrijving" UniqueName="Omschrijving">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn ConfirmText="Are you sure you want to delete the selected row?"
        HeaderStyle-Width="35px" ButtonType="ImageButton" CommandName="Delete" ><HeaderStyle Width="35px"></HeaderStyle>
                    </telerik:GridButtonColumn>

                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pcvisionConnectionString %>" ProviderName="<%$ ConnectionStrings:pcvisionConnectionString.ProviderName %>" SelectCommand="SELECT * from pcvision.categorie"></asp:SqlDataSource>
    </form>
</body>
</html>
